package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.JournalBean;
import com.project.bean.SalesStatisticsBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface ISalesStatisticsMapper extends BaseMapper<SalesStatisticsBean> {

    public List<SalesStatisticsBean> findByType(@Param("startDate") LocalDate startDate,@Param("endDate") LocalDate endDate);

    public List<SalesStatisticsBean> findByGoods(@Param("startDate") LocalDate startDate,@Param("endDate") LocalDate endDate);
}
